package org.yogurtcat.server.modules.rabbitmq.dao;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.Repository;
import org.yogurtcat.server.modules.rabbitmq.domain.RabbitMQConfig;

public interface RabbitMQConfigRepository extends Repository<RabbitMQConfig, Long>, JpaSpecificationExecutor<RabbitMQConfig> {

	RabbitMQConfig save(RabbitMQConfig payment);

	RabbitMQConfig findTopByOrderById();

	void delete(RabbitMQConfig rabbitMQConfig);
}
